<?php

namespace backend\controllers;

use yii;
use yii\web\Response;
use yii\web\Controller;

/**
 * Default controller for the `v1` module
 */
class DefaultController extends Controller
{
    /**
     * Renders the index view for the module
     * @return string
     */
    public $layout = false; //不使用布局

    public function actionIndex()
    {

//            var_dump(1111111);
        $url = "http://vod5rxwciwn.vod.126.net/vod5rxwciwn/51b893bb93dd4e2694b8d8c62f6476f8_1490080409934_1490080630242_3223222-00000.mp4";
        return $this->render('index', ['url' => $url]);
//            return $this->redirect(['default/index']);
        try {


        } catch (\Exception $e) {
            $e->getMessage();
//        }

        }

    }
}






